/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-09-20  18:19
 */
public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);//0
        myArrayList.add(2);//1
        myArrayList.add(1);//2
        //myArrayList.add(1,99);
        //System.out.println(myArrayList.get(2));
        //System.out.println(myArrayList.indexOf(2));
        myArrayList.remove(1);
        myArrayList.disply();
    }
}
